package com.zgx.plus.common.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


@Configuration
public class NacosConfig {
    @Value("${config.enable.address:false}")
    private Boolean addressEnabled;

    /**
     * 验证码类型 math|char
     */
    @Value("${config.captcha.type:math}")
    private String captchaType;

    public Boolean getAddressEnabled() {
        return addressEnabled;
    }

    public void setAddressEnabled(Boolean addressEnabled) {
        this.addressEnabled = addressEnabled;
    }

    public String getCaptchaType() {
        return captchaType;
    }

    public void setCaptchaType(String captchaType) {
        captchaType = captchaType;
    }
}
